package com.qf.provider.service;

import org.springframework.context.support.ClassPathXmlApplicationContext;

import java.io.IOException;

/**
 * @author q
 * @version V1.0
 * @date 2021/12/29
 **/
public class Provider {

    public static void main(String[] args) throws IOException {
        ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext(new String[]{"provider.xml"});
        context.start();
        //让当前服务一直在线，不会被关闭，按任意键退出
        System.in.read();
    }

}
